package com.wzx.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzx.user.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/3/1 - 22:32
 * @description 标题
 */
@Data
@TableName("t_wallet")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Wallet", description = "余额表")
public class Wallet extends BasePojo {
    @TableId(value = "walletId", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer walletId;

    @TableField("balance")
    @ApiModelProperty(value = "余额")
    private Integer balance;

    @TableField("password")
    @ApiModelProperty(value = "支付密码")
    private String password;

    @TableField("uid")
    @ApiModelProperty(value = "用户id")
    private Integer uid;

}
